package com.back.Service;

import com.back.Dao.Device;
import com.back.Dao.DeviceData;
import com.back.Dao.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DeviceService {
    List<Device> findAllDeice();
    Device findDeviceById(Integer id);
    Integer DelDevice(int id);
    Integer updateDevice(Device device);
    Integer addDevice(Device device);
    List<Device> findDeviceByAddress(String address);
}

